#ifndef NMATRIX_H
#define NMATRIX_H

void setIdentity(float *m);
void rotateX(float theta, float *m);
void rotateY(float theta, float *m);
void rotateZ(float theta, float *m);
int rotateM(float *rm, float *m, float a, float x, float y, float z);

/* multifly 4*4 matrix */
int multiplyMM(float *R, float *A, float *B);
int frustumM(float *m, float left, float top, float right, float bottom, float near, float far);

#endif
